package com.atguigu.scala.chapter_06_practice

object Scala_14{
  def main(args: Array[String]): Unit = {
   def func(a:Int,b:Int,c:(Int,Int,Int)=>Int)={
     c(a,b,10)
   }
    println(func(3,5,(x,y,z)=>{x+y+z}))
    println(func(3,5,_+_+_))
  }

}
